package com.chenxi.vhr.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName base_department
 */
@TableName(value ="base_department")
@Data
public class BaseDepartment implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 部门名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 
     */
    @TableField(value = "parent_id")
    private Integer parentId;

    /**
     * 
     */
    @TableField(value = "dep_path")
    private String depPath;

    /**
     * 
     */
    @TableField(value = "enabled")
    private Boolean enabled;

    /**
     * 
     */
    @TableField(value = "is_parent")
    private Boolean isParent;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 存储过程的执行返回结果
     */
    /**
     * 执行操作的影响行数
     */
    @TableField(exist = false)
    private Integer updCount;
    /**
     * 最新执行记录的Id
     */
    @TableField(exist = false)
    private Integer lastId;
}